Document Application Integration credential access - #382
Closed
carlospolop wants to merge 3 commits into
Closed
Conversation
Collaborator
Author
|
Consolidated into #383 on the current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
integrations.authConfigs.getcredential-disclosure path and its Critical classificationintegrations.integrations.invokestored-credential workflow path and its conditional High classificationconnectors.connections.createunauthorized runtime identity attachment path, including its cross-project prerequisite and limitationsLive validation
All three paths were independently tested on 2026-09-08 using authorized disposable GCP lab resources.
For
integrations.authConfigs.get, a custom role contained only that permission. Before binding, profile GET and LIST returned 403. After binding, GET returned 200 with the exact synthetic bearer token while LIST remained 403, and projecttestIamPermissionsreturned only the get permission from the candidate set.For
integrations.integrations.invoke, projecttestIamPermissionsreturned only the invoke permission from the candidate set. Integration list/version GET, Secret Manager access, direct connector action execution, service-accountactAs, and token minting remained denied. The principal still invoked a deliberately published workflow; a controlled endpoint confirmed that its synthetic API key was attached without logging or returning the key.For
connectors.connections.create, the creator had exactly that permission in attacker project A and zero tested permissions in victim project B, including noiam.serviceAccounts.actAsor token permissions on B's runtime service account. B had previously delegated token minting on that disposable runtime account to A's Google-managed Connector service agent. The A connection becameACTIVEwith the B runtime identity and secret reference. A separate invoke-only identity with no B permissions executed it, and the controlled B receiver returnedcredential_match=true. This does not establish arbitrary-project access: the explicit B-to-A Connector service-agent trust and an execution path are prerequisites. The no-service-agent-trust LRO was inconclusive and is identified as such.No real Workspace credential or data was used. Every created auth profile, connection, integration, IAM binding, custom role, service account, secret, Cloud Run resource, image, source artifact, service-agent grant, source repository, and temporary API enable was removed. Final audits found zero test resources and restored the APIs to their prior disabled state.